Retrospective commit from 2009-10-08.
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Jan 2010 11:27:51 +0000 (06:27 -0500)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Jan 2010 11:27:51 +0000 (06:27 -0500)
commiteb5c05ef9f10ca10bcad1dc848b13bc2cde4780c
tree58a5d75d12adb32e6a72b83b29a3114ce73ba68d
parentaa60a2d3a7f2d769a3261f534774d4798031eb5d
Retrospective commit from 2009-10-08.

Finish up working on paragraph's base direction.
Start working on display of right-to-left glyph rows.
Rewrite set_cursor_from_row to support bidi.

 xdisp.c (string_buffer_position_lim): New function.
 (string_buffer_position): Most of code moved to
 string_buffer_position_lim.  Last argument and return value are
 now EMACS_INT; all callers changed.
 (set_cursor_from_row): Rewritten to support bidirectional text and
 reversed glyph rows.
 dispextern.h <string_buffer_position>: Update prototype.
 bidi.c (bidi_paragraph_init): Fix initialization of POS.
 dispextern.h (struct glyph_row): New member reversed_p.
 buffer.c (syms_of_buffer): Remove DEFVAR_LISP_NOPRO for
 default-direction-reversed, default-bidi-display-reordering, and
 default-paragraph-direction.
src/ChangeLog.bidi
src/bidi.c
src/buffer.c
src/buffer.h
src/dispextern.h
src/xdisp.c